<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>visibility</title>
    <style>
        #u1{
            visibility: hidden;
        }
        #u2{
            visibility: visible;
        }
    </style>
</head>
<body>
<h2>您最喜欢的电视剧</h2>
<ul id="u1">
    <li>亮剑</li>
    <li>西游记</li>
    <li>三国演义</li>
    <li>水浒传</li>
</ul>
<h2>您最喜欢的电影</h2>
<ul id="u2">
    <li>红海行动</li>
    <li>战狼</li>
    <li>湄公河行动</li>
</ul>
</body>
</html>